package com.yincheng.oes.business.exam.export.model;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: yangsy
 * @Contact: 446948434@qq.com
 * @Date: 2021/6/12 21:11
 * @Version: 1.0
 * @Description: 试卷导出param实体
 */
public class ExportPaperParam {

    /**
     * 试卷id
     */
    private String paperId;

    /**
     * 答卷时间起
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date submitStartTime;

    /**
     * 答卷时间止
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date submitEndTime;

    /**
     * 导出试卷页眉
     */
    private String paperHeader;

    /**
     * 导出试卷标题
     */
    private String paperTitle;

    public String getPaperHeader() {
        return paperHeader;
    }

    public void setPaperHeader(String paperHeader) {
        this.paperHeader = paperHeader;
    }

    public String getPaperTitle() {
        return paperTitle;
    }

    public void setPaperTitle(String paperTitle) {
        this.paperTitle = paperTitle;
    }

    public String getPaperId() {
        return paperId;
    }

    public void setPaperId(String paperId) {
        this.paperId = paperId;
    }

    public Date getSubmitStartTime() {
        return submitStartTime;
    }

    public void setSubmitStartTime(Date submitStartTime) {
        this.submitStartTime = submitStartTime;
    }

    public Date getSubmitEndTime() {
        return submitEndTime;
    }

    public void setSubmitEndTime(Date submitEndTime) {
        this.submitEndTime = submitEndTime;
    }

    @Override
    public String toString() {
        return "ExportPaperParam{" +
                "paperId='" + paperId + '\'' +
                ", submitStartTime=" + submitStartTime +
                ", submitEndTime=" + submitEndTime +
                ", paperHeader='" + paperHeader + '\'' +
                ", paperTitle='" + paperTitle + '\'' +
                '}';
    }
}
